
const nativeImage = require('electron').nativeImage

export const createFromPath = (iconPath, w, h) => {
    return nativeImage.createFromPath(iconPath).resize({
        width: w,
        height: h,
    })
}